//
//  JgAdsSplashCustomEvent.h
//  AnyThinkSDKDemo
//
//  Created by Erik on 2021/12/6.
//  Copyright © 2021 抽筋的灯. All rights reserved.
//

#import <AnyThinkSplash/AnyThinkSplash.h>
#import <JgAdsSDK/JgAdsSDK.h>
#import "JgAdsSplashAdContainer.h"

NS_ASSUME_NONNULL_BEGIN

@interface JgAdsSplashCustomEvent : ATSplashCustomEvent<JgAdsSplashAdDelegate>
@property (nonatomic, strong) JgAdsSplashAdContainer *splashAdContainer;/**< 容器，规避 Topon 自定义适配器对广告的强引用 */

@property(nonatomic, strong) NSDate *expireDate;

- (void)loadAdWithPosId:(NSString *)posId bottomView:(nullable UIView *)bottomView;
- (void)showAdWithWindow:(UIWindow *)window withBottomView:(UIView *)bottomView;
- (void)loadAndShowPosId:(NSString *)posId window:(UIWindow *)window withBottomView:(nullable UIView *)bottomView;

@end

NS_ASSUME_NONNULL_END
